How to Install cPanelWHM in Almalinux 8
Hi everyone, I’m Nowmi, and today I will be guiding you through installing cPanel on AlmaLinux 8. This tutorial will demonstrate how to install cPanel WHM and access it on your server's dedicated IP address through the command line. Following all the steps is recommended to avoid any potential issues.
Why AlmaLinux 8?​
AlmaLinux OS 8, developed by CloudLinux and the community, is an excellent choice for installing cPanel. It is based on RHEL 8 and offers long-term support until 2029.
Minimum Resource Requirement To Install cPanel On AlmaLinux​
- Cheap Linux VPS With AlmaLinux 8 Operating System
- 1 GB RAM
- 1 core CPU 1.1 GHz
- 20 GB Storage
- Static IPv4
Pre-Requirements Of cPanel Installation On AlmaLinux​
Update AlmaLinux 8:
yum update -y
Disable OS Firewall:
iptables-save > ~/firewall.rules
systemctl stop firewalld.service
systemctl disable firewalld.serviceDisable SELinux:
- Open
/etc/selinux/config
with a text editor. - Change
SELINUX=enforcing
toSELINUX=disabled
. - Reboot the server.
- Open
Installing Perl:
yum install perl
Installing Curl:
yum install curl
Add Hostname:
hostnamectl set-hostname myeserver.mydomain.com
Installing cPanel With Trial License On AlmaLinux 8​
cd /home && curl -o latest -L https://securedownloads.cpanel.net/latest && sh latest
Now, you've successfully installed cPanel/WHM on AlmaLinux!